//
//  RelationViewController.m
//  KeepFit
//
//  Created by 杨旭 on 15/11/4.
//  Copyright © 2015年 Fuzzie Liu. All rights reserved.
//

#import "RelationViewController.h"

@interface RelationViewController ()

@end

@implementation RelationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.title = @"联系我们";
    self.navigationController.navigationBar.translucent = NO;//设置导航栏不透明
    self.navigationController.navigationBar.backgroundColor = [UIColor whiteColor];
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 30, self.view.bounds.size.width - 40, self.view.bounds.size.height - 60)];
    label.text = @"QQ:12345576\n电话:89474383\n邮箱:12345678@qq.com\n地址:随便一个地址";
    label.numberOfLines = 0;
    [label sizeToFit];
    [self.view addSubview:label];
}

- (void)viewWillAppear:(BOOL)animated{
    self.navigationController.navigationBarHidden = NO;//设置 navigationBar隐藏
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}
@end
